﻿<dx:DXWindow x:Class="Oddo.Concept.Crm.Client.Views.Shell"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
        xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
        xmlns:dxn="http://schemas.devexpress.com/winfx/2008/xaml/navbar"
        xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:viewModels="clr-namespace:Oddo.Concept.Crm.Client.ViewModels"
        xmlns:prism="clr-namespace:Microsoft.Practices.Prism.Regions;assembly=Microsoft.Practices.Prism"
        xmlns:constants="clr-namespace:Oddo.Concept.Crm.Common.Presentation.Constants;assembly=Oddo.Concept.Crm.Common.Presentation"
        mc:Ignorable="d"
        d:DataContext="{d:DesignInstance viewModels:ShellViewModel}"
        d:DesignHeight="600"
        d:DesignWidth="800"
        WindowStartupLocation="CenterScreen"
        WindowState="Maximized"
        Title="{Binding ShellViewTitle, Mode=OneWay}"
        SmallIcon="/Oddo.Concept.Crm.Client;component/Images/oddo.ico" 
        Icon="/Oddo.Concept.Crm.Client;component/Images/oddo.ico">
    <Grid>
       
        <dxb:BarManager x:Name="barManager" AddNewItems="True">
            <dxb:BarManager.Bars>
                <dxb:Bar x:Name="BarMainMenu" IsMainMenu="True">
                    <dxb:Bar.DockInfo>
                        <dxb:BarDockInfo ContainerType="Top" />
                    </dxb:Bar.DockInfo>
                </dxb:Bar>
                <dxb:Bar x:Name="BarMainStatusBar" IsStatusBar="True">
                    <dxb:Bar.DockInfo>
                        <dxb:BarDockInfo ContainerType="Bottom" />
                    </dxb:Bar.DockInfo>
                </dxb:Bar>
            </dxb:BarManager.Bars>
        <dxdo:DockLayoutManager>
            <dxdo:DockLayoutManager.LayoutRoot>
                <dxdo:LayoutGroup Caption="LayoutRoot">
                    <dxdo:LayoutPanel Caption="Navigation" ItemWidth="150px" CustomizationCaption="Navigation" AllowClose="False" AllowDrag="False" AllowMove="True" FloatOnDoubleClick="False" ShowCloseButton="False">
                        <dxn:NavBarControl prism:RegionManager.RegionName="{x:Static constants:Regions.NAVIGATION_REGION}">
                            <dxn:NavBarControl.View>
                                <dxn:NavigationPaneView IsExpandButtonVisible="False" />
                            </dxn:NavBarControl.View>
                        </dxn:NavBarControl>
                    </dxdo:LayoutPanel>
                        <dxdo:DocumentGroup MDIStyle="Tabbed" SelectedTabIndex="0" prism:RegionManager.RegionName="{x:Static constants:Regions.TABGROUP_REGION}" >
                    </dxdo:DocumentGroup>
                </dxdo:LayoutGroup>
            </dxdo:DockLayoutManager.LayoutRoot>
        </dxdo:DockLayoutManager>
        </dxb:BarManager>
    </Grid>
</dx:DXWindow>
